import junit.framework.TestCase;
import junit.framework.TestResult;
import org.junit.Test;

import java.util.Arrays;

import static org.junit.Assert.*;

/**
 * Created by zyl on 17-5-17.
 */
public class MathToolTest extends TestCase {
        @Test
        public void testsum() throws Exception {
            assertEquals(3,MathTool.sum(1,2));
            assertEquals(0,MathTool.sum(0,0,0,0));
            assertEquals(10,MathTool.sum(1,2,3,4));
        }
    }
